package com.example.netcenter.bean;

import java.util.List;

public class QuoteBean {
    /**
     * pageSize : 15
     * pageNo : 1
     * isLast : true
     * total : 3
     * objects : [{"id":"22","supplierId":134,"status":-1,"goodsId":2,"goodsName":"葡萄干","goodsTypeId":"","createTime":"2018-12-11 13:29","price":33333,"note":"111111"},{"id":"21","supplierId":134,"status":0,"goodsId":3,"goodsName":"核桃","goodsTypeId":7,"createTime":"2018-12-11 13:27","price":12,"note":"1222222222"},{"id":"20","supplierId":134,"status":0,"goodsId":14,"goodsName":"火龙果","goodsTypeId":7,"createTime":"2018-12-11 13:22","price":3.9,"note":"可口可乐"}]
     */

    private int pageSize;
    private int pageNo;
    private boolean isLast;
    private int total;
    private List<ObjectsBean> objects;

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public boolean isIsLast() {
        return isLast;
    }

    public void setIsLast(boolean isLast) {
        this.isLast = isLast;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ObjectsBean> getObjects() {
        return objects;
    }

    public void setObjects(List<ObjectsBean> objects) {
        this.objects = objects;
    }

    public static class ObjectsBean {
        /**
         * id : 22
         * supplierId : 134
         * status : -1
         * goodsId : 2
         * goodsName : 葡萄干
         * goodsTypeId :
         * createTime : 2018-12-11 13:29
         * price : 33333.0
         * note : 111111
         */

        private String id;
        private int supplierId;
        private int status;
        private int goodsId;
        private String goodsName;
        private String goodsTypeId;
        private String createTime;
        private double price;
        private String note;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getSupplierId() {
            return supplierId;
        }

        public void setSupplierId(int supplierId) {
            this.supplierId = supplierId;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getGoodsTypeId() {
            return goodsTypeId;
        }

        public void setGoodsTypeId(String goodsTypeId) {
            this.goodsTypeId = goodsTypeId;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }
    }
}
